package com.totoro.tyrank.data;

import com.totoro.tyrank.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * 排行榜数据持久化类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class RankData {
    @TableField("rank_id")
    private String rankId;
    @TableField(value = "is_end", mappingType = Boolean.class)
    private Boolean isEnd;
    @TableField(value = "update_date_time", mappingType = LocalDateTime.class)
    private LocalDateTime updateDateTime;
}
